package uk.ac.lkl.lpp.model.ldo;



import java.util.*;


/**
 * A course.
 * 
 * Just has a name for the moment.
 * 
 * @author Darren Pearce
 * @version $Revision: 353 $
 * @version $Date: 2007-10-30 13:18:52 +0000 (Tue, 30 Oct 2007) $
 * 
 */
public class Course {

    private String name;

    private ArrayList<Module> modules = new ArrayList<Module>();


    public Course(String name) {
        setName(name);
    }


    public void setName(String name) {
        this.name = name;
    }


    public String getName() {
        return name;
    }


    public void addModule(Module module) {
        modules.add(module);
    }


    public void removeModule(Module module) {
        modules.remove(module);
    }

}
